//12：定义一个整数数组，输出比平均值大的数
public class Task2 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        double[] arr = new double[5];
        double sum = 0;
        for (int i = 0; i < arr.length; i++) {
            System.out.println("Please input No." + (i + 1));
            arr[i] = in.nextInt();
            sum = arr[i] + sum;
        }
        double avg = sum / 5;
        for (int i = 0; i < arr.length; i++) {
            if (arr[i] > avg) {
                System.out.println(arr[i]);
            }
        }
    }
}